package com.hp.bon.sgw.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "SGW_CAPABILITY_ABN_RC_CFG")
public class CapabilityAbnRcCfg {
	
	private String capability;
	private String resultColumn;
	private String resultValue;
	private String resultDesc;
	
	
	@Id
	@Column(name = "CAPABILITY")
	public String getCapability() {
		return capability;
	}
	
	public void setCapability(String capability) {
		this.capability = capability;
	}
	
	
	@Column(name = "RESULT_COLUMN")
	public String getResultColumn() {
		return resultColumn;
	}

	public void setResultColumn(String resultColumn) {
		this.resultColumn = resultColumn;
	}

	@Column(name = "RESULT_VALUE")
	public String getResultValue() {
		return resultValue;
	}

	public void setResultValue(String resultValue) {
		this.resultValue = resultValue;
	}

	@Column(name = "RESULT_DESC")
	public String getResultDesc() {
		return resultDesc;
	}

	public void setResultDesc(String resultDesc) {
		this.resultDesc = resultDesc;
	}

	@Transient
	public String toString() {
		return this.capability + "|" + this.resultColumn + "|" + this.resultValue+"|"+this.resultDesc;
	}

}
